<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>管理小店</title>
<link href="/css/base.css" type="text/css" rel="stylesheet" />
<link href="/css/manage.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="/js/jquery.default.js"></script>
<script type="text/javascript" src="/js/jquery.validate.js"></script>
<!--[if ie]><link href="/css/ie.css" type="text/css" rel="stylesheet"><![endif]-->

<script type="text/javascript">
</script>
</head>

<body>
	<!-- head -->
   <?php $this->load->view('head');?>
    <!-- head--end-->
    <?php $data['curstyle'] = 'store'?>
    <!-- body -->
    <div class="w100p mt40 mb20">
    	<div class="w903 mg">
        	<div class="box_s1">
            	<div class="b_head"></div>
                <div class="content m_pd_s1">
                	<!-- manage-top -->
                	<?php $this->load->view('member/mangtop',$data)?>
                    <!-- manage-top--end-->
                    
                    <!-- manage-det-->
                   <div class="clearfix">
                    	<div class="box_s3 fl">
                        	<div class="b_head"></div>
                            <?php $data['leftstyle'] = 'mangedstore'?>
                            <?php $this->load->view('member/storeleft',$data)?>
                            <div class="b_foot"></div>
                        </div>
                        
                        <!-- right-ope-->
                        <div class=" m_layout_s1">
                        	<div class="m_pd_s2">
                            	<div class="form_box">
                                	<h3>我管理的小店<span class="tip_3">你成功认领的小店，会出现在这里，可以进行编辑和管理</span></h3>
                                    <div class="form_data_box store_manage">
                                        <table class="form_list">
                                            <thead>
                                                <tr>
                                                    <th width="20"></th><th width="130">小店名称</th><th width="200" class="tc">小店地址</th><th width="100" class="tc">评论</th><th width="100" class="tc">收藏</th><th class="tc">推荐</th>
                                                </tr>
                                            </thead>
                                            <tbody>
                                            	<?php foreach ($storeList as $store):?>
                                            		<tr>
	                                                    <td><i class="chb_s1 delete_item" dataid="id1" datavalue="value1"></i><input type="hidden"></td>
	                                                    <td><a href="#" class="s_name"><?php echo $store['name']?></a></td>
	                                                    <td class="tc"><span class="address"><?php echo $store['address']?></span></td>
	                                                    <td class="tc">12</td>
	                                                    <td class="tc">12</td><td class="tc">5</td>
	                                                </tr>
                                            	<?php endforeach;?>
                                                

                                            </tbody>
                                        </table>
                                    </div>
                                    
                                    <div class=" else_ope">
                                    	<a href="#" class="def_btn_s8">信息管理</a><a href="#" class="def_btn_s8">日志管理</a><a href="#" class="def_btn_s8">图片管理</a><a href="#" class="def_btn_s8">公告管理</a><a href="#" class="def_btn_s8">友情链接管理</a>
                                    </div>
                                    
                                </div>
                                
                               <div class="btn_fy">
                                <?php echo $this->pagination->create_links()?>
                                </div>
                                
                            </div>
                        </div>
                        <!-- right-ope--end-->
                        
                        <div class="clear"></div>
                    </div>
                    <!-- manage-det--end-->
                    
                </div>
                <div class="b_foot"></div>
            </div>
        </div>
    </div>
    <!-- body--end-->
    
    <!-- foot-->
   <?php $this->load->view('foot')?>
    <!-- foot--end-->	
</body>
<script type="text/javascript">
	function upload_photo(obj){
		var file_name = $(obj).val();
		$("#photo_text").val(file_name);
	}
</script>
</html>
